<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表格标签</title>
</head>
<body>
    <table border="2" cellpadding="0" cellspacing="0" align="center">
        <thead>
            <tr>
                <td>id</td>
                <td>手机品牌</td>
                <td>价位</td>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>1</td>
                <td>苹果</td>
                <td>4999</td>
            </tr>

            <tr>
                <td>2</td>
                <td>华为</td>
                <td>3999</td>
            </tr>
        </tbody>
        <tfoot>
            <tr>
                <td>3</td>
                <td>小米</td>
                <td>1999</td>
            </tr>
        </tfoot>
    </table>
    <hr/>
    <table border="2" cellpadding="0" cellspacing="0" align="center">
        <tr>
            <td rowspan="2">id</td>
            <td>手机品牌</td>
            <td>价位</td>
        </tr>
        <tr>
<!--            <td>1</td>-->
            <td>苹果</td>
            <td>4999</td>
        </tr>
        <tr>
            <td>2</td>
            <td>华为</td>
            <td>3999</td>
        </tr>
        <tr>
            <td>3</td>
            <td>小米</td>
<!--            <td colspan="2">1999</td>-->
        </tr>
    </table>
</body>
</html>